<?php
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
include_once("../../finance/controller/model/setting.php");
$plate=select_one_line_all_items($table_Prefix."plate","mid = 'finance'");
?>


<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
?>



<?php

$new_detail_nid=$_REQUEST['nid'];
$new_detail_status=$_REQUEST['tellerstatus'];

?>



<?
//设置需要搜索的表格的前缀后缀
$table_Suffix="finance";
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀

?>



<?php
$sql = "update $table SET status= '$new_detail_status' where nid = $new_detail_nid";
$query=mysql_query($sql) or die ('更新审核状态失败');
mysql_close($con);

?>



<script type="text/javascript">
    window.parent.location.reload();//刷新父页面
</script>




